package cn.tsmchina.one.domain.category;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="tb_category")
public class Category implements Serializable
{
	
	private static final long serialVersionUID = 446511587515400785L;

	@Id
	private int id;
	
	@Column
	private String cid;
	
	@Column
	private String name; //分类名
	
	@Column
	private String params; //分类参数
	
	@Column
	private Long customerId;
	
	@Column
	public Integer loginId; 
	
	@Column
	public String loginPwd;
	
	@Column
	public String uname; //用户名
	
	@Column
	public Integer type; //用户类型
	
	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public Integer getLoginId() {
		return loginId;
	}

	public void setLoginId(Integer loginId) {
		this.loginId = loginId;
	}

	public String getLoginPwd() {
		return loginPwd;
	}

	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}
}
